Forms, Element - Hidden

 

Use

The hidden element is used by the form creator (you) rather than a visitor to your website. The hidden text box is not visible on the visitor’s browser. When a visitor submits their form, all the information in the VALUE property of the hidden element is also submitted with it. This information usually consists of notes to yourself such as the build of your form, what the form is, where you put it etc. (See discussion and background for more details).

Properties

ATTRIBUTE

REQUIRED?

DESCRIPTION

NAME=" "

Required

The name of the hidden text box.

VALUE=" "

Required

The data or information that is submitted with the form.

Example

<INPUT TYPE=HIDDEN NAME="form_information" VALUE="Tomas Norton Survey. Form created on 8/8/99">

 

NOTE

For this example to work it must be inside form tags (<FORM .. ..> .. .. </FORM>). The entire form code, including all the examples, is ready for you to use.